--- @coding utf8

xlua = xlua or {}


local try_load = function(node)
end

local get_filenode = function(filename)
    local full_path = ""
end

local import = function(filename)
    local node = get_filenode(filename)
end

local reload = function()
    local cur_time = os.time()
    for path, node in pairs(xlua.files) do
        local filetime = file_time(node.fullpath)
        if filetime ~= node.time and filetime ~= 0 and math.abs(now - filetime) > 1 then
            node.time = filetime
            try_load(node)
        end
    end
end